<template>
	<view>{{content}}</view>
</template>

<script>
	import {dns} from '@/pages/dns.js'
	export default {
		data(){
			return {
				content: ''
			}
		},
		onLoad() {
			this.getAgreement()
		},
		methods:{
			getAgreement(){
				uni.request({
					method: 'GET',
					url: dns + 'agreement/detail',
					success: (res)=> {
						this.content = res.data.data.content
					}
				})
			}
		}
	}
</script>

<style>
</style>
